-- card: 86651 from stack: in -- bmap block id: 123340 -- flags: 0000 -- background id: 2665 -- name: -- part 1 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=270 top=21 right=41 bottom=333 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: maxy -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=270 top=43 right=63 bottom=333 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: miny -- part 4 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=379 top=21 right=41 bottom=442 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ex -- part 5 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=379 top=44 right=64 bottom=442 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: wye -- part 6 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=379 top=67 right=88 bottom=444 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: PLOT ----- HyperTalk script ----- on mouseUp global units global ypoint global scale global counter global xone global yone add 1 to counter put the value of (card field maxy - card field miny) into units put the value of (200 / units) into scale put the value of (300 - ((the value of card field wye - card field miny) * scale)) into ypoint choose pencil tool set linesize to 1 if the value of counter >=2 then drag from (300 + (2 * card field ex)), (trunc (ypoint)) to (xone), (yone) end if put the value of (300 + (2 * card field ex)) into xone put the value of (trunc (ypoint)) into yone choose browse tool delete line 1 of card field ex get the location of card field ex click at it end mouseUp -- part 7 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=446 top=67 right=88 bottom=511 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: CLEAR ----- HyperTalk script ----- on mouseUp global ypoint global units global scale global counter global xone global yone put 0 into yone put 0 into xone put 0 into counter put 0 into scale put 0 into units put 0 into ypoint choose select tool drag from 301,100 to 502, 298 doMenu "Pickup" choose browse tool delete line 1 of card field ex delete line 1 of card field wye delete line 1 of card field miny delete line 1 of card field maxy get the location of card field maxy click at it end mouseUp -- part 8 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=264 top=67 right=89 bottom=341 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: NEW LINE ----- HyperTalk script ----- on mouseUp global counter put 0 into counter get the location of card field ex click at it end mouseUp -- part 9 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=205 top=315 right=337 bottom=256 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: NEXT ----- HyperTalk script ----- on mouseUp go to next card end mouseUp -- part 10 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=149 top=314 right=337 bottom=199 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: PREV. ----- HyperTalk script ----- on mouseUp go back end mouseUp -- part 11 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=258 top=315 right=340 bottom=313 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: COPY ----- HyperTalk script ----- on mouseUp choose select tool drag from 259,90 to 508,326 doMenu "Copy Picture" doMenu "Scrapbook" doMenu "Paste Picture" choose browse tool end mouseUp -- part contents for background part 1 ----- text ----- GRAPH PLOTTER -- part contents for background part 2 ----- text ----- You may find this card handy for plotting data obtained from various exercises you may have run on other cards. Click on the clear button and then enter the maximum and minimum Y values of your data. Remember to change windows by hitting the TAB button on your keyboard. Hit the TAB button a third time and enter an X value. If you have made less than 20 or so observations, then number X's as 5,10,15 etc. The X axis can take an input value maximum of 100 but no more. If you have many observations, you can enter them as 1,2,3, etc. Enter the corresponding Y value for the X and click on the PLOT button. Nothing will happen during the first entry but after your second entry, a line between the data points will be drawn every time you enter new values and hit the PLOT button. If you wish, you can identify the line through the appropriate use of the TOOLS menu items. To plot a second line, click on the NEW LINE button and enter your second set of data. A new line will be drawn. Note, if a plot on your second line coincides with a previously logged data point, then a line will not be drawn because clicking a second time on a point erases it. To avoid such difficulty, it is advisable to log the X values one or two units above or below the previous value. Thus if the original line X values are 10,20,30; the second line might be 11,21,31 etc. If data points do not coincide, there is no problem. Note that any spread of Y can be plotted as long as you bracket your data points with maximum and minimum values. Click on the COPY button to put your graph into the Scrapbook for later transfer to other cards. Have fun! -- part contents for background part 8 ----- text ----- 61 -- part contents for card part 1 ----- text ----- 50 -- part contents for card part 2 ----- text ----- 5 -- part contents for card part 5 ----- text ----- 20